Updated doc blocks and removed closing PHP tags.