add 'topicIdFromHash' and 'extractParams' mixins