Add getTag() function for accessing of a single tag.
PHPDoc fixes as suggested by @MorrisJobke.