Implemented initial framework.