Bugfix. factory isn't defined.