This reverts commit 4bb0a719cf8f6b89ec89cd902a511a7e043d9a0d. Can be reveted once randstruct actually works