Fix a bug in regards to the expected type definition.

Version 0.18