setDefault must have public access.