Add function_exists() check.