Add custom adapter helper

Related to #30