Removes child and parent methods in requirement object that are not needed