A 'main' function excluded from tests.