Removed isNil function, added more broader functions is<typename T> function and get<typename T> function