Fixed typo. Added new type error.