add empty? and summary? methods to moodle sections