Deprectated methods.