Adding docs for if-else and try-catch