Added layout documentation, fixed component mixins/functions