Moved requiredProperties declaration to make sure it can't be shared between multiple instances