Add console function to link namespaces