Sorting out =def='s and =defonce='s