Fixing a typo that caused error when specifying types.