Some reflection changes, implemented protocol version