Update Extension.php

Fix wrong arguments getting/calling.