remove obsolete warehouse/snapshot code