Can define middleware on helper