Added shortcut methods for testing REST APIs.