Extract dependencies to factories