a default class parse function is added if none
exists.

refCount is underscored to denote its somewhat
internal nature.