Allow URIs to be sent to API modules as resources (not just strings)