Remove no-longer-used functnion