CoreAPI.java change CoreAPI instance can't be final