Fix broken plugin loading