Fixed minor compatibility issue.