Custom handlers can now deal with subclasses + decorator syntax for register