Formatter should respect new lines in interfaces (fixes #326)