Enabling 'require', fixing warnings [ci skip]