support typedef and identity
correct pep8 warnings