New methods to avoid compiler confusion, updated examples