added setVariables and addVariable method to Decorator, enabled custom variables passing