Removing bad things
Replacing runtime statements with DatabaseFunction instances