allow plugin to be included as a library in themes