Added drupal_render function to Common Class