Revert "changed component lookup to use class name instea"

This reverts commit ff47d69434c63fdf15b1a6e93bc21b0b058fd764.