Implemented Serializable interface

Changed from def isRecoverable to lazy val isRecoverable