Remove unnecessary require code.