This is just a style detail, but I think I'd used a parameter called `class-off` instead of camelcased `classOff`