Removal of unnecessary dereferences hindering the performance