move common definitions out of Core.Lang