In a large casserole dish, combine the beans and onion.
In a medium bowl, mix together the ketchup, brown sugar, mustard powder, Worcestershire sauce, and chili powder. Pour over the beans and stir to combine.
Cover and bake for 1 hour.
Uncover and bake for an additional 30 minutes or until desired thickness is reached.