Removed //ends and added some comments on docblocks