Added some phpdocs