remove unused compatibility definitions