Remove outdated main-dynamic references