cleaned up API docs