Added documentation (YUIDoc).