Removed the optional parameters to make it C# 3.0 compatible hopefully