Remove Repository#contents and its tests