Fixed order of readonly declaration of vars.