Array stuff moved to dyndoc