Implement decorator exercise.