Changes needed for drupalexention module