Modified agentset getProp to use util