Add pre-flight hook for custom data
Resolve #18