Use Class<?> instead of Class