Removed unused remove_pointer functionality.