Also fix bug caused by _properties being a class variable rather than an instance variable. If you created an object with allow_custom, allow_custom would be set for all future instances.