Fix bug with default function namespace.