Another neat way to do this would be by using the add_theme_support() / get_theme_support() API: http://codex.wordpress.org/Function_Reference/add_theme_support -- http://scribu.net