Added Revs:
removed unnecessary Array.
Added and fixed JDoc.