Fix mistype and add missing #decorate method to decorator class
Add deprecation warnings for backward compability