Libraries and helpers to aid in emulation