Why is image being removed as part of this refactor?