Better security model for agent methods.