This should probably be removed and `ast_is_freeze` too.