Removed Ruby warnings.