Remove internals for typedef declaration