Don't use importFrom
Some hacky fixes for method warnings
Fixing examples etc
Finishing porting layer_lines to new syntax