Removed unused definitions

It doesn't make sense to define specific functions for comparison of
package versions in generic module.