Implement preliminary :type-at and :loc-at commands