Added hook for 'resourceSynopsis' queries for resources. Fixes #18