BUG: Support array interface