ObjectCore updated to use the new def syntax.