Fixed bug in handler initialisation.