Preliminary work on getting imports. http://stackoverflow.com/a/18775994/693752