added missing method getProperties()