Make components play nicely with factory injections