swap the arguments to add_property around.

This shouldn't affect most uses; the function signature was wrong
before.