Miscellaneous, preparing for rewrite.