Added YUIDoc comments