Implement primitive operators.