Prevent error in agent getters