The package needs an example of adding models and GAM would be a natural next step. See here and here for implementation examples.