This caused a stack overflow on a branch, due to the recursino between the class and the extension function.