Deprecated some methods.