set proper namespace on extended class