I added so that the class can be unit testable