Fixed README example when using an object for new Core parameter