Templated the padding value, so it can be changed.