Theme handling, image filtering, and asset optimization for Pyramid