Updates to formats and phpdocs