registery class can't be serialised by jug either