Fixed typo, made object creation slightly more granular.