Removed pointless and erroneous typedef