Remove useless function.
Clean the code a bit.