This function should not be here, it must have been forgotten during the rebase.