make Image class compilable