Register as provider extension

This fixes #5