It is making this call on an Observable object, but there's no guarantee that this will also be a Login object. I have a couple of options here. I could extend the .