Don't import numpy unless we really need it.