Modified static get and getAll methods to accept null ID (for compatibility with GORM). Version 1.1.1