Error fix.
Changed association option key.
From "class" back to "className".
Added __call() support.
Added missing returns.
Changes.
* Wrapped persistence methods in transactions.
* Automatically sets value for time columns created_at/on and updated_at/on.