Nice, thanks. Would be nice if Java had a self type...