Use interface constant as query parameter.

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