Moved entry point formatting to separate attribute and wrote a test for it.