removed deprecated functions from System;