Converting prototype creation, fixes #261