Added structs for easy access to String and Exception