Fix issue with passing arguments fixes #4. The method now accepts arguments to be passed for correct parsing.