Any reason for the extra function split here? Or is this is a left-over from trying to apply a decorator?