Add GetMaybe extension methods for data structures