[JA/DK] Had forgotten to initilise core before using it.