Cleaned up unused var and func.