Fix issue with booleans not being initialised to a false value by default. Minor update to entities.