FIX: remove_extension should work on parameterized extensions