Implement require logic.