Figured out type definitions