Add expression evaluation. Fix flex layout.