@domcleal, re-committed after one failed test due to this line causing @obj to return nil when it's a new host.  I thought ruby would skip this line totally, but it returned nil instead.  I fixed it by explicitly returning @obj at the end of the method.