Cleaned up unused value warnings