Remove unchecked reply type casting