Classes should be filtered and `class_implements` should be used here to filter what has to be instantiated