Fix handing of attributed simple types