#23 #24 Implemented a StatefulActor trait.