Add badges namespace to functions