I don't think require, lang, Deferred and maybe others are used in this module, so they should just be removed?