issue #178 Allow class merging