Gender should not be 'irrelevant' to marriage