Added methods for fetching one object and fetching-or-creating one object (header files)