Function extractActorContext