use === instead of == on string comparison
add customEntryParser documentation
added missing curly braces