Parametrized decorator using __call__