Remove unrequired objects