Support for user provided handlers