Removes redundant calls of conversion methods.