Add an API to select object literals