removing some compiler warnings
convenience functions for using dictionary with pointers