Fix an issue with private/protected static properties