Adding @method annotation for yuidoc.