Checkstyle - removed unneeded typecasts

Pull removes (T) instances that are not in fact needed.