Fixed loader, added getting plugin. This is so you can cast etc...