Added other padding modes for legacy app.