This should be implemented by returning void, and adding a parameter with a pointer to copy the value to.