Simplified Boogie implementation.