Fixed disableRegistration option.