Streamlined Problem class to be easier to work with