Add deprecation warning to layout

It looks like this:

![image](https://cloud.githubusercontent.com/assets/2231765/4820654/8a57b4f0-5f1a-11e4-93b4-d92683334dcc.png)