Extract object creation functionality.
Update dependencies.