Introduce and use convenience methods for getting pointer types