[#1] Fixed doc string. Added types to record fields. Replaced tuple() type for {}.