There is a fair bit of monkey patching to achieve some of the features. It would be good to capture this somewhere and figure out if there's a path that decreases the set of patches needed