Added an RAII pointer type used in other projects.