remove redundant declarations around require()