SMS: Towards a pedagogical foundation for the teaching of law.