Renamed classes from request to message and updated method signatures.