Fixed getContextualType.