only use already existing reflections
Revert "only use already existing reflections"

This reverts commit bb5bdcf0f4ccd6fc83692490ec70a697c90573fb.
only check for traits when class exists