Removing warnings in getAllProperty.