[BUG #7247] Minor handling of wrong usage of Decorator
Merge pull request #52 from FredyC/master

[BUG #7247] Minor handling of wrong usage of Decorator