Python @deprecated decorator to deprecate old python classes,
functions or methods.
