Adding response functions to public API.