Fixed plugin loading issues.