simple decorator for single method.