Reduce a bit the amount of warnings due to generic types