Unified type names to _t suffixed
Fixed up example to latest changes.