Encapsulate in a require module