Finished Semaphore_ORM implementation.