Resolve #1. Added means of external initialization.