Future-proof deprecated declartion parsing