Pass self object to custom handlers