Remove deprecated function (was used in prototyping)