Fix code style
Update API docs