CocoScript Class Implementation