Done. I also introduced a choose class for multiple k method, similar to choose class,
to avoid a little bit more of code duplication.