Import

This is to make Medhi's commits about extern import work.
No, I just felt like: that's some general purpose functions.