Added GetComponentCategory method.