Cover the beans with cold water and soak overnight. In the morning place the ham hock in the slow cooker, pour in the beans and enough water to cover. Add the onions. Cook on low for 8 hours. Most of the meat will have fallen off the bone, but you may need to give it a little help with a fork. Remove the bone. Taste for seasoning. Serve with homemade cornbread.