Added some documentation examples to API.