Tidy up docs
Implement category api