Removed unneeded parameter from createObject call.