Fix double class declaration