Removed dead code from load_core