def METHOD_NAME(
    cls,
    schema: s_schema.Schema,
    astnode: qlast.DDLOperation,
    context: sd.CommandContext,
) -> sd.Command:
    if not context.stdmode and not context.testmode:
        raise errors.UnsupportedFeatureError(
            'user-defined pseudotypes are not supported',
            context=astnode.context
        )
    return super().METHOD_NAME(schema, astnode, context)