Abstract away the integer implementation