Allow location.add to have dLocation input

More pull requests, hooray! See commit(s) for details.