Workaround for beforeTokenChecker injection