Begin implementing loader generation functions