Add request object factory methods to Api classes. Closes #3