In reply to Rodrigo.

I tested this, and it works for me. What hook did you use? Typically, you would want to do this on theme setup in a function hooked to after_setup_theme.