Getters generated
Kill superfluous core::
Fix casts
More casting issues and use VolatileCell