Fixed issue when smart template doesn't provide includes