Properly support type aliases