[PATCH] Remove two methods that are never called