remove extension methods

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