Make addDataPadding method to avoid clutter.