data: cleanup require, fix setup and idProperty usage