Allow new lines in chained method invocation (fixes #287)