I think we should use an inline `function` instead of a require here.