Fix issue #10 (:extend not accepted)