Fully implement helper methods for validating and evaluating expressions. Full implementation of declarative commands.