Expanded logic and expressions documentation