checking parent type is actually a subclass of NamedContainer; removed extraneous whitespace from exception message
checking parent type is actually a subclass of NamedContainer; removed extraneous whitespace from exception message

bdr00/typedef