reintroduce macros for handler initialization.