Removed useless methods in DB.