Fixed typo in getContextForType