Adding ability to add custom parse function