Added support/test for nested type spec discovery