Changed the syntax to just accept callbacks for success, failure and
notsupported.