Add support for multiple-parameters

For #256.
Also removes deprecated 'getLearnedElement' method in unit tests