Added smart pointer disabling header.

This should fix memory management within the generated headers.
Reverting breaking commit that introduced smartptr disabling.

That's going to have to be done on a per-type level.