PHPDoc and improved coding styles.