Streamlined image handling (module cleanup).