Initialize $properties array before use to avoid php notice