Updated to use props in companion objects for actor creation