Small fixes and updates

Fix throw declarations and throw docs

Add reply codes descriptions