Update no_type method and syntax errors