Fix rst doctests in modeling package