Use of namespaces to avoid function collisions