Remove unnecessary require
refactor