Add support of functions