Added basic stdio adapters.