Changed ScriptType::equals(Type*) to ScriptType::operator==(Type&)