mussel: remove function definition order dependency.