Fixed syntax errors on stub classes