Add smart pointer typedefs to all classes