Added check for unsupported method