Move actor state into a separtae object.