Add typeAs, typeIs casts and multiply parent access(like parentparent)

Hi! It's ok?