Fixed direction not being set in LayoutController constructor + some minor doc updates