Replace hard-coded nonsense with dynamic D8-driven stuff.