dev: non-arc and arc cast.