Added padding option.