Refactor Actor so it can be used as a mixin.