remove extension methods

This is an option for fixing the compiler error on luckrat/KeeFox#212