Added boolean settings parsing function.