Updated to provide specs by type rather than by instance.