Fixed: child elements were not being rendered properly.
Dev. checkpoint: start of refactoring.