Added getMaxHealth() hook