Fix typos in internals.rs