Lens: allow automatic configuration