Various minor fixes in most Core classes