removing warnings about implicit T