Keep only static and templates