Implemented individual shape options for flags. Closes #1465.