Adding device templates