allow plugin to be included as library in themes