Merge pull request #251 from bvssvni/master

Using loose traits as constraints for event loop
Fixed weird newline