Removed not used function.