Added support for default types.