Implement theme function: submit().
Fix API documentation.