Restructure extension

This changes all references to the old name and makes it compatible with
version 3.12.