Handles normalization of data.