Closure => Method for default prepare
Added a compile mechanism.
Added the Expires handling