Re-adding centering code.