Replaced the core context with a Java based one