Upgraded core to 0.5.1 released version