v1.0.9b2: Standarized code with 1.0.9b2 for Moodle 2.x