Upgraded block to Moodle 2 standard.