deprecated a couple of methods.