Add implementation for AA::copyValue and AA:deleteValue. Minor bug
fixes.