Fixed function defined twice.