Added access to message data for upcasters, fixes #5