Move another class dependency to additional method