Change THandlerFunction into void
Reflect changes to THandlerFunction