Move plugin into lib.