Altered $geometry->getComponents to have the option of recursively breaking down a geometry to speficied types.