Rename mapObjectClass to registerClass