Refactor: Replace memory aliasing with struct
Refactor: Replace memory aliasing with struct