Always pass variables by refence instead of specializing on is_class type