Remove unneeded function