Implement most of methods in Comparable mixin for components.