How to create a functional object with parts in Alpha?