Added function check.