Completes basic MDP class.