Removed 2 unused functions.