Changed the render function to abstract as it is required by all elements