Included core.h where this was missing & fixed header without #pragma once