Update phpdocs where necessary.