Added more avm2 coding.