Add @api to public methods.