Added function_exists validation in the functions declaration