Allow users to set responseType