Cleanup phpdocs and IDE errors/warnings.