make PageInput.enums invocation chainable