Meta-programming code cleanup.