parser: Remove cast work around.