WIP: Fix: pass features as an array of tables