Use new methods for getting property type; deprecate the old