I think it makes sense to make PasswordEntry inherit from TextEntry.