Changed the is supported check.