Added optional loadData param to router