Clean up method replacing.