Allow repetition of createData() and init(). Closes #228.