Implements plugin loading