ClassFactory now supports abstracts