Change method of handler registration.