Removing obsolete code from user extension.