Fixed naming and updated API docs.