Removing duplicate mobile check functions.