Generator based api is in main package