Usefull scala classes