Fixes #22 Use create instead of add as the deprecation warning suggests