Clean up plugin loading