Move to new plugin structure.

See the changelog for more information.