Start marking some low-level functionality with pure/@safe/@trusted.