Added some core functionality for handling render elements