Move pubkeys inside a class