Imports are currently stored in a global constant. We should explore using dependency injection for this.
However, this poses problems when using annotations on components for lack of access to a component's injection context.
A possible solution could be to annotate a class member instead of the component.