Added getHandler as prototype