Encapsulating image specs for multithread support. Resolves issue #18.