Several fixes for runtime picklers