Removed an unnecessary as statement