Inelegant initial callback system added.