Simple references and function overloading