Various bugs.