Refactor Resource pointer to allow empty pointers.