Add support for time- and position-dependent source terms.