Shorten function definition

[skip ci]