Fixed the api/detail/mock.
Fixed the README and examples.