Fix backwards typedef