Restore accidentally deleted methods