Bind types and records