Added all the init functions to parse the full objects from JSON.