Fixed documentation errors
Updated API docs