Prevent plugin classes from being loaded twice