Class invocation syntax correction