Finished integrating the endpoints changes.
Added tests & docs for customizing endpoints.