Remove the default attributes.  Instead, encapsulate the checks in a function.