since it's a datatype feature, I would put those two methods in the type