Added 'PerformTask' method.
Added 'IsEmptyOrSpace' function.