Fixed thunk declaration in repeat(). Added object for importing instead of using mixins