Drop unused attributes
Drop deprecated lowercase API
PEP 386