Adding API documentation for notes