Made core into a static class.