Add deprecation warning to layout
Merge pull request #62 from rmosolgo/deprecation-warning

Add deprecation warning to layout