Change schema query to involve the use of an optional schema parameter.