Simplified model to pickle entire RBM object.