Cleaned up _make_callbacks method of widget model class