Remove defined function