Added sensible defaults in case user forgot to call init function