Tidying up. Removed some code used by the old render method that was no longer needed.