Fix fatal error in cleanup command.

Message class does not exist in this scope, so the cleanup command ends in a fatal PHP error.