Fixes various things. :p