Added example for custom layout.