Changed imports object API to allow for more flexibility