Made Q.Tool.onConstruct and Q.Tool.beforeRemove event factories