Changed $TRUE and $FALSE to package variables so they can be overridden.