Make get_fields private

As well as to_marshallable_type