Change :type to :as per best-in-place deprecation message.