Add dependencies, clearing mocks, formatting, and clean up deprecated syntax.