Implement primitive remove operation