Add dependency, remove trailing array entry