Validating that constructors don't return any value [ci skip]