Move 'magic numbers' to object properties.