Added getErrorDefaults and getDefaults. Prefixed setters with "set"
composer.json fix