Added in a void cast to eliminate unused parameter warning.