Factory creates now instances even when there is no factory method defined.
Updates dependencies.
Removes unused code.