Bugfix for methstr assignment.