Various hackery