[PATCH 1/4] Bypass size getter when mocking new devices.