Add support for both task and target level expose options