getType for Component now no longer returns a pointer