Fixes #26 Add support for if-not-extension