First working pass at licensing plugins