Fix handling of numeric type aliases