Remove unnecessarily duplicated functions