Implement templateSettings and custom namespace for Require