Ext.apply support

Inferencing fixes
Cleanup