gl prefix trimming + len parsing functions
More work on doc generator