Make it eclipse compatible

proposal.
These two point of code make use of some smart generics, but Eclipse doesn't recognize it and reports compilation errors.
Ok, you use it down below again. Makes sense.