It's confusing to have a variable name that starts with _ and that's not a member.
Could the member be renamed to _device (I think it's not meant to be public).