Switch to using structure.