Removing new lines from API. This fixes #1