Refactors code to use call by name parameter in ReusableStatement class