Fixed error message
Handler.decorator returns class instead of function