Hmm, without knowing anything about this, this funciton looks an aweful lot like the `bare` function. Is it possible to dry the two up...