Delete unnecessary method and hide not realized methods.