Fixed doc strings
Cleaned up the API docs