Refactored smt motivation.