Move knowledge of parent to unreachable_constant?.
Simplify constant reaching.
Rename to_remove to const_name.
Rename const to namespaced_const.