Useful auto-generated methods