Revert "[lib] APropertyAccessor uses safer self_cast"

This reverts commit 809d262a4ecd65053add24a7565d322d02e09ae8.