RBM class made.