Remove now unused function.