Removed pattern parameter where it wasn't needed.