Added getter and setter for num_dynamics_steps.