Change: invar method from "routine name()invar{}" to "invar routine name(){}".