Removed type aliases and specified proper return types

See the ``receive`` functions and the ``String``s in the messages we send to the actors.