Fix isa option, add extends option.  Fixes #4.