Fix for function without namespace