Strip the main templates