Added support for LOCATE operation

This doesn't appear to be used anywhere and it doesn't use the input to create the ObjectType. Why the change?