The method signature defines that the 'props' argument is allowed to be null. Our implementation should not throw a nullpointerexception.