Strip out calculator code