do i understand correctly that `obj` here must be a (python) class? if so can we check and throw? 

we had a previous bug where this type of clause was used to create instances #26