Small optimization

`method` extracted from `data` at 357 does not change over function