Removed unnecessary use of Bindings, since type binding is always defined (checked with debug assertion). Improved an error message. Closes #2331.