Added some common behaviors.
Merge branch 'master' of https://github.com/jamiebclark/Layout