More Swift bridging code.