Remove overcomplicated type class in Image