On Hamiltonian systems with first‐class constraints