Support 'has' statement with default values