Removed redundant code from MCCDevice class constructors, put it into initDevice instead.