Ran into trouble with hibernate so not instantiating the actual type
anymore but more general. This might introduce classcastexceptions if
you have the tendency to write "HashSet<String> set = new
HashSet<String>()" instead of "Set<String> set = new HashSet<String>()"