This and a number of other functions don't seem to be used. It would be better if they could be moved into a separate file in your own branch for now and not be part of the pull-request since they appear to not be part of the current functionality that's being added.