Removed unnessary functions.