when would scope actually be null? scope will always have it's default value (Singleton) if the parse fails, but the code seems misleading.