Fix it so we define patch correctly

Must be a function that returns a function, so it works as a decorator