Fix as-> making it compatible with destructuring