Use a slightly more Java-istic approach to parameter passing