add missing static modifiers in WPAlchemy and minify resources