Streamlined rest of the classes to not have fromJSON.