Fixed function scoping.