Finished coding states for the Wire command. More to come.