Please change to $enableRegistration the same with getter/setter